.dialogueOverlay {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1051;
    display: none;
    top: 0;
    left: 0;
    background: transparent;
}

.dialogueOverlay.confirm {
    background: url(../img/overlay.png);
}

.dialogueBox {
    display: none;
    position: absolute;
    left: 50%;
    top: 27px;
    min-width: 250px;
    max-width: 400px;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    border: none;
    background-image: url(../img/bg.png);
    padding: 20px;
    border-bottom-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-bottom-right-radius: 3px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    color: #333;
    border-radius: 3px;
}

.dialogueBox img {
    display: none;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    margin: 0;
}

.dialogueBox .xbtn {
    /*display:none;*/
    width: 12px;
    height: 13px;
    position: absolute;
    top: 11px;
    right: 10px;
    cursor: pointer;
}

.dialogueBox .title {
    font-size: 15px;
}

.dialogueBox .title, .dialogueBox .message {
    font-weight: bold;
    display: inline-block;
}

.dialogueBox .message {
    font-size: 14px;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}

.dialogueBox .btns {
    text-align: right;
    display: block;
    margin-top: 25px;
}

.dialogueBox .btns input.btn {
    margin-left: 5px !important
}

/* Status Dialog */
.status .dialogueBox {
    background: #ededef;
    padding: 10px 17px 10px 15px;
}

.status .dialogueBox .title {
    vertical-align: middle;
    line-height: 26px;
    height: 24px;
}

.status .dialogueBox img {
    display: inline-block
}

.status .dialogueBox .message, .status .dialogueBox .btns {
    display: none;
}

/* Confirm Dialog */
.confirm .dialogueBox {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3);
    top: 220px;
. rounded-corners(4 px);
}

.confirm .dialogueBox .message {
    margin-top: 13px
}

.confirm .dialogueBox .title {
    font-size: 15px
}

/* Success & Error Dialogs */
.success .dialogueBox, .error .dialogueBox {
    background: #cde2eb;
}

.error .dialogueBox {
    padding: 15px 40px 15px 20px;
    background: #F6D6D4;
}

.success .dialogueBox .title {
    vertical-align: middle;
    line-height: 26px;
    height: 24px;
}

.error .dialogueBox .xbtn {
    display: block;
}

.error .dialogueBox .message {
    margin-top: 5px;
}

.success .dialogueBox .message, .success .dialogueBox .btns, .error .dialogueBox .btns {
    display: none;
}